package com.org.entity.base;


import lombok.Data;

import java.util.List;

@Data
public class PageResult<T> {

    /**
     * 集合
     */
    private List<T> list;

    /**
     * 总数
     */
    private Long total;

    public PageResult() {
    }

    public PageResult(List list, Long total) {
        this.list = list;
        this.total = total;
    }



}